import { createApp } from 'vue'
import './style.css'
import App from './App.vue'
import ElementPlus from 'element-plus'
import 'element-plus/theme-chalk/index.css'
import 'virtual:svg-icons-register';
import 'uno.css'
import { createPinia } from "pinia";
import router from "@/router";
import { setupDirective } from '@/directive';



createApp(App)
    .use(router)
    .use(createPinia())
    .use(ElementPlus)
    .mount('#app')

const app = createApp(App);
// 全局注册 自定义指令(directive)
setupDirective(app);
